host-interaction/thread

set thread name on Linux

rule:
  meta:
    name: set thread name on Linux
    namespace: host-interaction/thread
    authors:
      - michael.hunhoff@mandiant.com
    scopes:
      static: basic block
      dynamic: thread
  features:
    - and:
      - or:
        - os: linux
        - os: android
      - or:
        - api: pthread_setname_np
        - and:
          - api: prctl
          - number: 0xF = PR_SET_NAME

last edited: 2024-04-23 11:49:05